function selectBox(){
  var checkboxis = document.getElementsByName("id");
  for (var i=0; i<checkboxis.length; i++){
    //alert(checkboxis[i].checked);          
    if(document.all.paymentsub.checkid.checked == true){
      checkboxis[i].checked = true;
    }else{
      checkboxis[i].checked = false;
    } 
   }   
}

function batchMod(){
  document.all.paymentsub.attributes[83].value = 'paymentsub.do?method=batchMod';
  document.all.paymentsub.submit(); 
}


function toEcard(){
  document.all.paymentsub.attributes[83].value = 'paymentsub.do?method=toEcard';
  document.all.paymentsub.submit();
}


function search(){
	try{
      document.all.paymentsub.attributes[83].value = 'paymentsub.do?method=initFind';
      document.all.paymentsub.submit();
	}catch(error){
	  alert(error);
	}
}

function checkNode(value){
  if(value == "" || value.replace(/(^\s*)|(\s*$)/g, "") == "") return false;
  return true;
}



function keydown(){
  if(event.keyCode == 13){
    search();
  }
}